package org.idontknow.heritence;

class Test {

  public static void main(String[] args) {

    Son son = new Son();
    son.getData();
    son.dataArray[0] = "This is a test string";
    Parent.dataArray[0] = "This is the test string in parent class";
    System.out.println(Son.dataArray[0]);
    System.out.println(Parent.dataArray[0]);
    System.out.println(Son.dataArray == Parent.dataArray);
    AbstractSon absSon = new AbstractSon();
  }
}
